package com.excesys.exsecs.energy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.excesys.exsecs.energy.entity.WaterMonthFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WaterMonthFlowMapper extends BaseMapper<WaterMonthFlow> {

    List<Map<String, Object>> waterAnalyse(@Param("timeValue") String timeValue,
                                           @Param("energyType") String energyType);

    List<Map<String, Object>> waterMonthAnalyse(@Param("startTime") String startTime,
                                                @Param("endTime") String endTime,
                                                @Param("energyType") String energyType);

}